package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BaseAttrValueMapper extends BaseMapper<BaseAttrValue> {
    @Delete("delete from base_attr_value where attr_id = #{attrId} ")
    void deleteAttrValue(@Param("attrId") Long attrId);
}